package lab02.test07;

public class Test {
    public static void main(String[] args) {
        Person chen =new Person();
        chen.name="chengongsuo";
        chen.age=20;
        chen.idcard="232438479320";
        System.out.println(chen.getString());

        Student zhen=new Student();
        zhen.name="zhenzhi";
        zhen.age=18;
        zhen.idcard="23454389";
        zhen.sno="123";
        zhen.university="四川旅游学院";
        System.out.println(zhen.getString());

    }
}
